package com.tanhua.dubbo.api;


import com.tanhua.model.enums.CommentType;
import com.tanhua.model.mongo.Comment;

import java.util.List;

public interface CommentApi {

    List<Comment> findPagesByMovementId(String movementId, CommentType comment, Integer page, Integer pagesize);

    Integer save(Comment newComment);

    Boolean hasComment(String movementId, Long userId, CommentType like);

    Integer remove(Comment comment);

    Comment findById(String id);

    Integer commentLike(Comment comment);

    Integer commentDislike(Comment comment);

    void videoSave(Comment comment);

    void VideoRemove(Comment comment);
}
